package kr.saeildadim.androidexam_saeildamil.chapter12;
import kr.saeildadim.androidexam_saeildamil.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;


public class Ch12_main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch12_main);
	
	}
	public void mOnClick(View v){
		switch(v.getId()){
			case R.id.ch12_button1:
				startActivity(new Intent(this, Ch12_ListViewEx.class));
				break;
			case R.id.ch12_button2:
				startActivity(new Intent(this, Ch12_LiastAddDelEx.class));
				break;
			case R.id.ch12_button3:
				startActivity(new Intent(this, Ch12_ListAddDelMulti.class));
				break;
			case R.id.ch12_button4:
				startActivity(new Intent(this, CH12_CustomListEx.class));
				break;
			case R.id.ch12_button5:
				startActivity(new Intent(this, Ch12_ListOnly.class));
				break;
			case R.id.ch12_button6:
				startActivity(new Intent(this, CH12_SpinnerEx.class));
				break;
				
		}
	}
}
